package cn.edu.bit.lixin.blog.util;

import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;

public class HibernateUtil {
	private static SessionFactory sessionFactory = null;
	public static SessionFactory getSessionFactory(){
		return new Configuration().configure().buildSessionFactory();
	}
}
